package com.yst.suivi.status;

import java.util.Locale;
import java.util.ResourceBundle;

public class StatusUtil
{
	private static ResourceBundle bundle = null;
	static
	{
		bundle = ResourceBundle.getBundle("com.yst.suivi.status.Status", Locale.ENGLISH);
	}

	/**
	 * The method returns the name of the state. The name is issued of the
	 * ressource file Status.properties
	 * 
	 * @param status
	 * @return
	 */
	public static final String getStatusName(int status)
	{
		return bundle.getString(Integer.toString(status));
	}
}
